package com.xkdx.guangguang.fragment.user;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;

public class UserResetPwdAction extends AbsAction {

	String phoneNum;

	public UserResetPwdAction(String phonePum) {
		this.phoneNum = phonePum;
	}

	@Override
	public void constructRequest() {

		HashMap<String, String> modifyPwdmap = new HashMap<String, String>();
		modifyPwdmap.put("DeviceID", "2");
		modifyPwdmap.put("UserName", phoneNum);

		String resetPwdJson = constructJson(modifyPwdmap);
		Parameter parameter = new Parameter("userInterface", "getCheckSn",
				resetPwdJson);
		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);
	}

}
